package com.sptpc.demo1.service;

import com.sptpc.demo1.model.Category;

import java.util.List;

public interface ICategoryService {

    List<Category> getAllCategory();

    void addNewCategory(Category category);

    Category getCategoryById(Integer id);

    void updateCategory(Category category);

    void delCategory(Integer id);
}
